package com.zmm.zebulon.module.infra.biz.api.logger;

import com.zmm.zebulon.module.infra.api.api.ApiAccessLogApi;
import com.zmm.zebulon.module.infra.api.api.dto.ApiAccessLogCreateReqDTO;
import com.zmm.zebulon.module.infra.biz.service.logger.ApiAccessLogService;
import org.springframework.stereotype.Service;
import org.springframework.validation.annotation.Validated;

import javax.annotation.Resource;

/**
 * description: API 访问日志的 API 实现类
 *
 * @author zebulon
 * package com.zmm.zebulon.module.infra.biz.api.logger
 * name: ApiAccessLogApiImpl
 * date 2024/1/7 20:06
 */
@Service
@Validated
public class ApiAccessLogApiImpl implements ApiAccessLogApi {

    @Resource
    private ApiAccessLogService apiAccessLogService;

    @Override
    public void createApiAccessLog(ApiAccessLogCreateReqDTO createDTO) {
        apiAccessLogService.createApiAccessLog(createDTO);
    }

}
